package net.qiqbframework.lifecycle;

import javax.annotation.Nonnull;


/**
 * 组件的生命周期
 */
public interface Lifecycle {
    /**
     * 注册
     * @param register
     */
    void registerLifecycleHandler(@Nonnull LifecycleHandlerRegister register);
    //void start();

    //void shutdown();
    // boolean isRunning();
}
